package com.neusoft.neuiotms.dcam.fixed.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.neuiotms.dcam.fixed.model.AssetType;

public interface AssetTypeRepository extends JpaRepository<AssetType, Long>, CustomizedAssetTypeRepository {

    AssetType findByCode(String code);

    AssetType findByName(String name);

    List<AssetType> findByParentId(Long id);

}
